package day15_Thread.demo07_刘关张;

public class Thread2 extends Thread {
    public Thread2() {
    }

    public Thread2(String name) {
        super(name);
    }

    @Override
    public void run() {
        for (int i = 1; i <=100; i++) {
            System.out.println(Thread.currentThread().getName()+":"+i);
        }
    }
}
